package com.dormitory.manage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Administrator
 * @version 1.0
 * @description 学生信息类
 * @date 2023/4/7 0007 17:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_student")
public class Student {

    @TableId(value = "student_id",type = IdType.AUTO)
    private Integer studentId;

    @TableField("student_name")
    private String studentName;

    @TableField("student_gender")
    private String studentGender;

    @TableField("student_phone")
    private String studentPhone ;

    @TableField("student_college_name")
    private String studentCollegeName;

    @TableField("student_profession")
    private String studentProfession;

    @TableField("student_grade")
    private String studentGrade;

    @TableField("student_class")
    private String studentClass;

    @TableField("student_dormitory_build_name")
    private Integer studentDormitoryBuildName;

    @TableField("student_dormitory_no")
    private String studentDormitoryNo;

    @TableField("check_in_time")
    private Date checkInTime;

    @TableField("departure_time")
    private Date departureTime;
}
